<template>
    <el-container>
        <el-header><h5 class="logo">Thunder-OA</h5></el-header>
        <el-container>
            <Th-aside></Th-aside>
            <el-main>主体内容</el-main>
            <el-footer>底部版权</el-footer>
        </el-container>
    </el-container>
</template>

<script>
import Aside from '../components/common/Aside';
export default {
  components: {
    'Th-aside': Aside
  }
}
</script>


<style>
  .el-header, .el-footer {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 45px;
    height: 45px;
  }
  
  .Th-aside {
    /* background-color: #D3DCE6; */
    color: #333;
    /* text-align: center; */
    /* line-height: 200px; */
    width: calc(100vw * 0.1);
  }
  .Th-aside .logo {
    width: 100%;
    height: 1px;
    color: #409eff;
    text-align: center;
    line-height: 1px;
  }
  
  .el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;
    height: calc(100vh - 90px);
  }
  
  body > .el-container {
    margin-bottom: 40px;
  }
  
  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }
  
  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  }
</style>